<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<form action="http://localhost:8080/file" enctype="multipart/form-data" method="post">
    <input type="file" name="file" />
    <input type="text" name="name" />
    <button type="submit">提交</button>
</form>

</body>
</html>